package com.example.foodisimportant.Bean;

import com.example.foodisimportant.StudentViewActivity.Fragment.MessageFragment;

import java.io.Serializable;

public class MessageEntity implements Serializable {
    public String name,time,preview,picture;
    public MessageEntity(){

    }
    public MessageEntity(String number,String name, String time, String preview, String picture){ ;
        this.name=name;
        this.time=time;
        this.preview=preview;
        this.picture=picture;
    }

    public String getName(){return name;}
    public void setName(String name){this.name=name;}
    public String getTime(){return time;}
    public void setTime(String time){this.time=time;}
    public String getPreview(){return preview;}
    public void setPreview(String preview){this.preview=preview;}
    public String getPicture(){return picture;}
    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "MessageEntity{" +
                "name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", preview='" + preview + '\'' +
                ", picture='" + picture + '\'' +
                '}';
    }
}
